package com.zzr.demo.redis.service;

import java.util.Set;

/**
 * @author: xiaomi
 * @date: 2021/10/8
 * @description: 点赞功能
 */
public interface LikesService {

    void likes(String paperId, String userId);

    void unlike(String paperId, String userId);

    Set<String> getLikesUsers(String paperId);

    long getLikesCount(String paperId);
}
